package com.icas.util;

/**
 * @Author: tocchen
 * @Date: 2022/4/18 19:53
 * @Description 项目使用的常量
 **/
public class Constant {
    /** 密码盐的随机个数种子 */
    public static final Integer START_SALT_NUM = 4;
    /** 密码盐的随机个数种子 */
    public static final Integer END_SALT_NUM = 10;
    /** Hash 散列次数 */
    public static final Integer HASH_NUM = 1024;
    /** 密码规则生成长度 */
    public static final Integer PASSWORD_RULE_LEN = 2;
    /** 账户初始化密码 */
    public static final String NORMAL_PASSWORD = "123456";
    /** 状态码：True */
    public static final Integer TRUE_STATUS = 0;
    /** 状态的总数 */
    public static final Integer STATUS_COUNT = 6;
    /** 用户表名 */
    public static final String USER_TABLE_NAME = "users";
    /** 课程表名 */
    public static final String COURSE_TABLE_NAME = "courses";
    /** 签到表名 */
    public static final String ATTEND_SHEET_TABLE_NAME = "attendsheets";
    /** 签到表状态：结束 */
    public static final String ATTEND_STATUS_END = "end";
    /** 签到表状态：正在进行 */
    public static final String ATTEND_STATUS_START = "start";
    /** “admin”人脸后台服务的token值 */
    public static final String FACE_SERVICE_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0aW1lU3RhbXAiOjE2NTA2MTc4NjAzNTUsImF1VHlwZSI6Im1nciIsImlkIjoidVBvMUR-PU1Ma0l6dD91ZDYqUHI3dCE1MDI1b25DIn0.vHO5ipNt5sa1EZPubzIjLNkA_Qk4V4FSgLetuqZ7U7g";
    /** ""stu" 人脸后台服务的token值 */
    public static final String STU_FACE_SERVICE_TOKEN = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0aW1lU3RhbXAiOjE2NTcwMzYxMjM4MzksImF1VHlwZSI6InN0dSIsImlkIjoiYm4rUHckZkYxS05vRjlrNCo4aGgwbiFiQCNqJVRKIn0.pCTg0nEoCt7hX4ms22wtJY0ho71YTCwVPlSHY9EWMgo";
    /** "admin"人脸转发的URL */
    public static final String ADMIN_FACE_URL = "http://180.76.186.186:8084/kingzhihui/facerec/mgr/mini";
    /** "stu"人脸转发的URL */
    public static final String STU_FACE_URL ="http://121.5.67.247:8084/kingzhihui/faceservice/stu/facecomparison";
}
